package com.han.hotelplat.service.wallet;

import java.util.List;
import java.util.Map;

import com.han.hotelplat.pojo.employee.Employee;
import com.han.hotelplat.pojo.hotel.Hotel;
import com.han.hotelplat.pojo.wallet.Wallet;

public interface WalletService {
	/**
	 * 
		 * @description	查询用户钱包
		 * @author  han1088
		 * @param userid 用户ID
		 * @return
	 */
	public Wallet getWallet(String userid);
	
	/**
	 * 
		 * @description	设置钱包密码
		 * @author  han1088
		 * @param password 支付密码
		 * @return
	 */
	public Map<String, Object> setWalletPayPassword(String userid,String password);

	public void save(Wallet wallet);

	public void updateHoteOverdraft(float parseFloat, Wallet w, String optuserid, String remark);

	public void update(Wallet w);

	public List<Hotel> exportHoteBalance(String startDate, String endDate,
			Integer state, Integer sortType, Integer areaCode,
			String condition, Integer isArrears);

	public List<Employee> expEmpployyerBalance(String startDate,
			String endDate, Integer areaCode, String condition, Integer sortType);
}
